from enum import Enum


class Language(Enum):
    CN = "CN"
    EN = "EN"

class ArticleStatus(Enum):
    Publisher = "publisher"
    Draft = "draft"
    Delete = "delete"


class MessageStatus(Enum):
    Read = "read"
    Unread = "unread"


class PageTypeStatus(Enum):
    Text = "text"
    Image = "image"

class Sort(Enum):
    Asc = 1
    Desc = -1

class TimeKey(Enum):
    CreateTime = "create_time"
    UpdateTime = "update_time"
